
from Brain.lookup_table import LookupTable
from Brain.vector import Vector 

test = LookupTable(
	{
		18	: Vector(-1.0, 1.0), 
		10	: Vector(0.0, 1.0), 
		3	: Vector(0.7, 1.0), 
		2	: Vector(0.8, 1.0), 
		1	: Vector(0.9, 1.0), 
		0	: Vector(1.0, 1.0), 
		-1	: Vector(1.0, 0.9), 
		-2	: Vector(1.0, 0.8), 
		-3	: Vector(1.0, 0.7), 
		-10	: Vector(1.0, 0.0), 
		-18	: Vector(1.0, -1.0), 
	} )

if __name__ == '__main__':
	print '	valid input: -18 : +18 '
	while 1:
		input = raw_input('input ? ')
		input = float(input)
		print test[input]







